package com.biz.primus.ms.promotion.service.promotion;

import com.biz.primus.base.vo.PageVo;
import com.biz.primus.common.vo.SpringPageVO;
import com.biz.primus.model.promotion.vo.SpecialOfferPromotionVo;

/**
 * 简单特价Service
 *
 * @author david-liu
 */
public interface SpecialOfferPromotionManagementService {

    /**
     * 创建简单特价
     *
     * @param vo 简单特价Vo
     * @return boolean
     */
    Boolean createSpecialOfferPromotion(SpecialOfferPromotionVo vo);

    /**
     * 获取所有的简单特价促销活动
     *
     * @param pageVo 分页对象
     * @return 简单特价活动列表
     */
    SpringPageVO<SpecialOfferPromotionVo> getSpecialOfferPromotions(PageVo pageVo);

    /**
     * 获取简单特价活动
     *
     * @param promotionId 活动Id
     * @return 简单特价活动
     */
    SpecialOfferPromotionVo getSpecialOfferPromotion(Long promotionId);

    /**
     * 切换简单特价活动的启用状态
     *
     * @param promotionId 活动ID
     * @return Boolean
     */
    Boolean toggleSpecialOfferPromotionStatus(Long promotionId);
}
